<#if pg??>${pg.countHtml!}</#if>
<table class="list">
  <tr>
    <th width="4%">序号</th>
    <th width="8%">门店名称</th>
    <th width="6%">定金编号</th>
    <th width="6%">会员卡号</th>
    <th width="8%">会员姓名</th>
    <th width="6%">定金类型</th>
    <th width="7%">定金金额</th>
    <th width="5%" nowrap>全额定金</th>
    <th width="8%">销售日期</th>
    <th width="8%">使用日期</th>
    <th width="6%">状态</th>
    <th width="5%">签名</th>
    <th width="12%">备注</th>
    <th width="10%">操作</th>
  </tr>
  <#if list??><#list list as c>
  <tr<#if c_index%2==1> class="line2"<#else> class="line1"</#if>>
    <td class="no">${c_index+1}</td>
    <td><@value type="shopName" key="${c.shopCode!}"/></td>
    <td>${c.saleId!}</td>
    <td>${c.cardCode!}</td>
    <td class="member"><a href="javascript:mbinfo('${c.memberCode!}');">${c.custName!}</a></td>
    <td><@value type="earnestType" key="${c.earnestType!}"/></td>
    <td class="money">${c.earnestAmount!}</td>
    <td><#if c.amountFull=1>是<#else>否</#if></td>
    <td>${c.saleDate!}</td>
    <td>${c.useDate!}</td>
    <td><@value type="earnestStatus" key="${c.status!}"/></td>
    <td><#if c.signStatus=1>已签<#elseif c.signStatus=2>未签<#else>--</#if></td>
    <td>${c.note!}</td>
    <td class="oper"><#if c.status=0><#if canMerge??><input type="checkbox" name="cbids" value="${c.saleId!}"></#if>
      <#if canBack??><a class="edit" href="javascript:back('${c.saleId!}','${c.earnestAmount!}');">退定金</a></#if></#if></td>
  </tr>
  </#list></#if>
</table>
<#if pg??>${pg.pageHtml!}</#if>
